﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using iShoppingDAO;
using iShoppingDTO;

namespace iShoppingBUS
{
    public class PhanQuyenBUS
    {
        public static DataTable SelectAllQuyen()
        {
            return PhanQuyenDAO.SelectAllQuyen();
        }

        public static bool InsertPhanQuyen(PhanQuyenDTO phanQuyenDto)
        {
            return PhanQuyenDAO.InsertPhanQuyen(phanQuyenDto);
        }

        public static bool DeleteQuyenofMa(string maQuyen)
        {
            return PhanQuyenDAO.DeleteQuyenofMa(maQuyen);
        }

        public static DataTable SelectOfQuyen(string maLoaiTaiKhoan)
        {
            return PhanQuyenDAO.SelectOfQuyen(maLoaiTaiKhoan);
        }
    }
}
